import request from '@/utils/request'

export function create(data) {
  return request({
    url: '/v1/task/create',
    method: 'post',
    data: data
  })
}

export function list(data) {
  return request({
    url: '/v1/task/list',
    method: 'post',
    data: data
  })
}

export function logList(data) {
  return request({
    url: '/v1/task/log-list',
    method: 'post',
    data: data
  })
}
export function getUserCountryCode(data) {
  return request({
    url: '/v1/user/country-code',
    method: 'post',
    data: data
  })
}
